Skip to content

Add advisory for unsound problem in scanner-rust#2000

Closed
safe4u wants to merge 1 commit intorustsec:mainfrom
safe4u:scanner
Closed

Add advisory for unsound problem in scanner-rust#2000
safe4u wants to merge 1 commit intorustsec:mainfrom
safe4u:scanner

Conversation

@safe4u
Copy link
Contributor

@safe4u safe4u commented Jul 6, 2024

ScannerU8SliceAscii creates and parses non-utf8 str, which is unsound and might lead to undefined behaviors.
The details are described in magiclen/scanner-rust#2.

@alexanderkjall
Copy link
Contributor

I see that this report is disputed by the crate author, and I didn't manage to reproduce any problem when I wrote a small fuzzer for the crate.

Maybe this is a false positive?

@safe4u
Copy link
Contributor Author

safe4u commented Dec 22, 2025

After further code review by the crate maintainer, the originally reported issue is considered a false positive.

Based on this clarification, we are closing this PR. Thank you for the review and discussion.

@safe4u safe4u closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants